package com.example.service;

//import com.baomidou.mybatisplus.extension.service.IService;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.mapper.CollectionMapper;
import com.example.pojo.entity.Collection;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CollectionService  {


    void insert(Collection collection);

    void updateById(Collection collection);

    void removeById(Integer id);

    void removeBatchByIds(List<Integer> ids);

    List<Collection> list();

    Collection getById(Integer id);

    PageInfo<Collection> selectByPage(Integer pageNum, Integer pageSize, String name, String type,Integer showState);
}
